<?php
$filename=__DIR__.'/1.txt';

$r=swoole_async_read($filename, function($file_name,$content){
    echo "filename:".$file_name.PHP_EOL;
    echo "content:".$content;
    return true;
},5);

var_dump($r);
echo str_repeat('-',100).'end'.PHP_EOL;